is similar to setaProp, except that it returns an error if the property is not  in the list.